﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DFGK_WMS.Model.Models;

namespace DFGK.Service.BBS
{  
    /// <summary>
    /// 装备报废报损
    /// </summary>
    [Table("EquipmentBad")]
    public  class EquipmentBad:BaseEntity
    { 
        /// <summary>
        /// 装备id
        /// </summary>
        public int? MaterialId { get; set; }  
        /// <summary>
        /// 装备编码
        /// </summary>
        public string? MaterialCode { get; set; }  
        /// <summary>
        /// 装备名称
        /// </summary>
        public string? MaterialName { get; set; } 
        /// <summary>
        /// 报废原因
        /// </summary>
        public string? Reason { get; set; } 
        /// <summary>
        /// 处理人Id 
        /// </summary>
        public int? ChuLiRId { get; set; }
        /// <summary>
        /// 处理人姓名 
        /// </summary>
        public string? ChuLiRName { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public string? Status { get; set; }

        [NotMapped]
        public int Count { get; set; }
    }
}
